<template>
  <h2 class="font-normal py-1 mb-3">
    <span class="text-white">{{title}}</span>
    <small v-if="alias" class="text-sm text-gray-100 opacity-50 ml-3">{{alias}}</small>
  </h2>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
  name: 'DsTitle',
  props: {
    title: {
      type: String,
      required: true
    },
    alias: {
      type: String
    }
  }
})
</script>
